<!DOCTYPE html>
<html>
<head>
    <title>{$category.name} {$category.page_title} {$site_info.site_name|default=''}</title>
    <meta name="keywords" content="{$category.page_keywords},{$site_info.site_seo_keywords|default=''}"/>
    <meta name="description" content="{$category.page_description},{$site_info.site_seo_description|default=''}">
    <include file="public@head"/>
</head>
<body>
    <!-- 导航 -->
    <include file="public@nav"/>
    
    <div class="content">
        <!-- banner -->
        <include file="public@banner"/>
        
        <div class="sub_box">
            <!-- 面包 -->
            <include file="public@breadcrumb"/>
            
            <div class="Disclaimer">
                <div class="wrap">
                    <php>
                        $order = SO;
                    </php>
                    <portal:articles item="vo" order="$order" field="post.post_title,post.post_content,post.more"
                                     relation="categories"
                                     categoryIds="$category.id"
                                     returnVarName="articles_data">
                        <php>
                            $class1 = 'fl';
                            $class2 = 'fr';
                            if( $i%2 == 0 ){
                                $class1 = 'fr';
                                $class2 = 'fl';
                            }
                        </php>
                        <div class="dis_li clearfix">
                            <div class="dis_img {$class1}" style="background-image: url({:cmf_get_image_url($vo.more.thumbnail)});"></div>
                            <div class="dis_txt {$class2}">
                                <h4>{$vo.post_title}</h4>
                                <div>{$vo.post_content}</div>
                            </div>
                        </div>
                    
                    </portal:articles>
                </div>
            </div>
        </div>
    </div>


    <include file="public@footer"/>
    <include file="public@scripts"/>
</body>
</html>
